<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<script>
    let data = {
        name: 'yanle',
        age: 25
    };

    let save = {};


    let {name, age} = {...data};
    console.log(name);
    console.log(age);
</script>
</body>
</html>